package com.ruyuan.seckilling.activity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhonghuashishan
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("seckilling_activity")
public class Activity implements Serializable {
    private static final long serialVersionUID = -6192987609757268751L;

    // 主键
    private Long id;

    // 秒杀活动名称
    private String activityName;

    // 秒杀活动开始展示时间
    private Date showTime;

    // 秒杀活动开始时间
    private Date startTime;

    // 秒杀活动结束时间
    private Date endTime;

    // 秒杀活动状态
    private Integer status;

    // 秒杀活动的商品列表页是否已经渲染好了
    private Boolean pageReady;

    // 审核备注
    private String auditComment;

    private Date createTime;

    private Date updateTime;
}
